package com.ysd.lis.entity.iqc;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ysd.lis.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.sql.Timestamp;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("LimsIQCMaterialBatches")
public class LimsIQCMaterialBatches {
    private static final long serialVersionUID = 1L;
    @TableField("Id")
    private String id;

    @TableField("BatchNumber")
    private String batchNumber;

    @TableField("IQCMaterialId")
    private String iQCMaterialId;
    @TableField("ManufacturerId")
    private String manufacturerId;

    @TableField("IsDeleted")
    private Integer isDeleted;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @TableField("EnableTime")
    private Timestamp enableTime;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @TableField("DisableTime")
    private Timestamp disableTime;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @TableField("ExpiryDate")
    private Timestamp expiryDate;


    @TableField(exist = false)
    private String manufacturerCode;
    @TableField(exist = false)
    private String horizontal;
    @TableField(exist = false)
    private String materialName;

    @TableField(exist = false)
    private String qcNo;
    @TableField(exist = false)
    private String instrCode;



}
